﻿using PetaPoco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BrnMall.Manager.Domain.WeChat
{
    /// <summary>
    /// 客户与标签的关系实体
    /// </summary>
    [TableName("wechat_SuiteTicket")]
    [PrimaryKey("id")]
    public class SuiteTicketInfo
    {
        public int Id { get; set; }
        /// <summary>
        /// 企业微信：第三方应用的SuiteId
        /// </summary>
        public string SuiteId { get; set; }
        /// <summary>
        /// 企业微信：Suite_Ticket ,每十分钟更新一次
        /// </summary>
        public string SuiteTicket { get; set; }

        public DateTime AddTime { get; set; }

        /// <summary>
        /// 应用(1 AI销售, 2 boss销售)
        /// </summary>
        public int AppType { get; set; }
    }
}
